----------------------------------Spell Variables--------------------------------------
SPELL.m_iSpellID = 51513 -- Whatever value you want as long as it doesn't override any other spells' IDs.
SPELL.m_iRange = 0
SPELL.m_sName = "Target Dummy"
SPELL.m_sToolTip = [[Spawn a target dummy.]]
SPELL.m_sIcon = "devin/blackbetty/spells/warrior/battlecry.jpg"
SPELL.m_iCoolDown = 3
SPELL.m_iManaCost = 0
SPELL.m_bRequiresTarget = false
SPELL.m_iSpellType = SPELLTYPE_RANGEDAMAGE
SPELL.m_bRecastWhileCasting = false

---------------------------------------------------------------------------------------

local range = 100
local weapondamage = 20

function SPELL:Cast( pl, target )
	print("Casted "..self.m_sName.."!")
	pl:EmitSound("devin/blackbetty/weapons/CharacterRoarsGnomeFemale.wav", 100, 100+math.random(-20, -30))
	self:CreateNPC(14, pl:GetPos()) 
	timer.Simple(0.05, function()
	pl:SetNWBool("Casting", false) 
	pl:SetNWBool("Casted", false)
	end)
end



